<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class Branches extends Model
{
    use SoftDeletes;

    protected $table = 'branches';

    //获取网点信息
    public static function getSelectOptions()
    {
        $options = self::pluck('branches_name', 'id');
        return $options;
    }
}
